Creating a new project

For this tutorial, you will implement the Crystal Data Source interface in an ActiveX DLL that can be referenced by other applications. One such application may be a standard executable that uses the Active Data Driver with the Report Designer Component to produce reports based on this new ActiveX data source.

  1. With Visual Basic running, select New Project from the File menu. The New Project dialog box appears.
  2. Select ActiveX DLL from the New Project dialog box, and click OK. Your new ActiveX DLL project is created.
  3. Select Class1 in the Project window, and make sure the Properties window is displayed. To display the Properties window, press the F4 key or select Properties Window from the View menu.

Note:    If you are not creating an ActiveX DLL, you may not have a class module in your project. See the next section, Adding a class module to a project.

  1. Change the value of the (Name) property for Class1 to MyDataSource.
  2. Select Project1 in the Project window, and change the value of the (Name) property for Project1 to MyDataSourcePrj.
  3. Save the project. Use MyDataSource as the name of the class file and the
    project file.


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com